package com.xxxx.manager.service.impl;

import com.xxxx.common.result.RespBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xxxx.manager.mapper.GoodsImagesMapper;
import com.xxxx.manager.pojo.GoodsImages;
import com.xxxx.manager.service.GoodsImagesService;
@Service
public class GoodsImagesServiceImpl extends ServiceImpl<GoodsImagesMapper, GoodsImages> implements GoodsImagesService{

    @Autowired
    private GoodsImagesMapper goodsImagesMapper;

    @Override
    public RespBean insertGoodsImages(GoodsImages goodsImages) {
        return goodsImagesMapper.insertGoodsImage(goodsImages) > 0 ? RespBean.success("success") : RespBean.error("error");
    }
}
